import { combineReducers } from 'redux'
import todos from './todos'
import visibilityFilter from './visibilityFilter'

const reducers = combineReducers({
  todos,
  visibilityFilter
})
export type RootState = ReturnType<typeof reducers> // === ReturnType<typeof store.getState>
export default reducers
